package com.yinpeng.entity;

import java.sql.Timestamp;

/**
 * User实体类
 */
public class User {

    private long id;

    private String username;

    private String password;

    private String nickname;

    private Timestamp created_time;

    private Timestamp updated_time;

    public void setId(long id) {
        this.id = id;
    }

    public long getId() {
        return id;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUsername() {
        return username;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getNickname() {
        return nickname;
    }

    public void setCreatedTime(Timestamp createdTime) {
        this.created_time = createdTime;
    }

    public Timestamp getCreatedTime() {
        return created_time;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Timestamp getUpdatedTime() {
        return updated_time;
    }

    public void setUpdatedTime(Timestamp updatedTime) {
        this.updated_time = updatedTime;
    }
}
